package com.tbit.manager.api;

import com.tbit.common.entity.pojo.dto.OperatingMapMainDTO;
import com.tbit.common.entity.pojo.vo.OperatingMonitorMainVO;
import com.tbit.manager.enums.ApiConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 车辆监控
 * @author <a href="mailto:liu.haoxiang@tbit.com.cn">BUGXiang</a>
 * @version 1.0
 * @since 2025-4-24
 */
@FeignClient(name = ApiConstants.NAME)
public interface MachineApi {

    String PREFIX = ApiConstants.PREFIX + "/operatingMap";


    @PostMapping(value = PREFIX + "/operatingMapMonitoringV2", consumes = "application/json", produces = "application/json")
    List<OperatingMonitorMainVO> operatingMapMonitoringV2(@RequestBody OperatingMapMainDTO dto);

}
